package com.ruoyi.project.lely.bean.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import org.hibernate.validator.constraints.Length;

/**
 * 删除图片
 *
 * @author luoyong
 */
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName(value = "`ly_del_picture`", autoResultMap = true)
public class LyDelPicture {


    @ApiModelProperty("ID")
    @TableId("id")
    private Long id;


    @Length(max = 255, message = "长度不能超过255位")
    @ApiModelProperty("ID")
    @TableField(value = "`picUrl`")
    private String picUrl;

}
